home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / g_doom / cinema.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1996-08-14  |  4KB  |  122 lines

  1. @echo off
  2. cls
  3. If exist CINEMA.EXE goto Run_it
  4. If exist DEHACKED.INI goto Backup
  5. If not exist DOOM.WAD goto Error
  6. If not exist DOOM.EXE goto Error_2
  7. If not exist Deusf.exe goto Error_3
  8. If not exist Dehacked.exe goto Error_4
  9. If not exist Cinema.wad goto Error_5
  10. If not exist Cinsound.wad goto Error_6
  11. If not exist Cingrfx.wad goto Error_7
  12. If not exist Cinema.deh goto Error_8 
  13. If not exist Cinema.txt goto Error_9
  14. If not exist Readme.doc goto Error_10
  15. If not exist Start.bat goto Error_11
  16. If not exist Filelist.lst goto Error_12
  17. If not exist File_id.diz goto Error_13
  18. goto Welcome
  19. :Welcome
  20. echo.         ***************************************
  21. echo.         *           CINEMA v.1.0              *
  22. echo.         *                                     *
  23. echo.         * By: Jonathan Daughtrey              *
  24. echo.         ***************************************
  25. echo.
  26. echo.
  27. echo. Welcome to the installation of my very first
  28. echo. pwad!  I really hope that you enjoy it because
  29. echo. it took me a long time to create and best of all,
  30. echo. it won't modify your Doom.wad or Doom.exe files in
  31. echo. way at all.  All of the files in my filelist must
  32. echo. be in your Doom Directory, so if you encounter any
  33. echo. errors telling you that there are files missing, 
  34. echo. please consult the filelist.lst file for the names
  35. echo. of all the files which should be in your Doom 
  36. echo. Directory.  This will take up about 8 megabytes 
  37. echo. harddrive space, if you don't have enough then please
  38. echo. abort the program, otherwise press any key to proceed.
  39. echo.
  40. echo. Hit Ctrl-C to abort now...
  41. pause > nul
  42. cls
  43. echo. First I would like you to read my Wad Authorization
  44. echo. text document to see how and what I did to create 
  45. echo. this little masterpiece, unless you have'nt.
  46. echo.
  47. pause
  48. edit cinema.txt 
  49. cls
  50. echo. Now let's begin, shall we?
  51. echo.
  52. pause 
  53. cls
  54. Deusf -append Cingrfx.wad
  55. Dehacked -load cinema.deh
  56. ren doomhack.exe Cinema.exe
  57. echo. I guess everything is set up right, so now you
  58. echo. can play.  Just type in,"Start", and you're off. 
  59. Goto End
  60. :Run_it
  61. Start.bat
  62. :Backup
  63. echo. I have detected a Dehacked.ini file which may jeoparadize the
  64. echo. installation.  It will be moved to a new directory in your Doom
  65. echo. directory entitled, "Initiate".
  66. echo.
  67. pause
  68. Mkdir c:\doom\Initiate
  69. Move  c:\doom\dehacked.ini c:\doom\initiate
  70. echo. It has been done.
  71. echo.
  72. pause
  73. goto Welcome
  74. :Error
  75. echo. Your DOOM.WAD is not in this Directory, Installation
  76. echo. terminated. 
  77. Goto End
  78. :Error_2
  79. echo. Where in hell is your DOOM.EXE file?  Well, evidently 
  80. echo. its not here!
  81. Goto End
  82. :Error_3
  83. echo. No DEUSF.EXE=No install!
  84. Goto End
  85. :Error_4
  86. echo. You must place DEHACKED.EXE in this directory before 
  87. echo. installing.
  88. :Error_5
  89. echo. My Cinema.wad is not here, please make sure that 
  90. echo. it is here.
  91. Goto End
  92. :Error_6
  93. echo. The Cinsound.wad is not here, please find it and
  94. echo. move it here.
  95. Goto End
  96. :Error_7
  97. echo. The Cingrfx.wad is not available, so no installation is
  98. echo. possible.
  99. Goto End
  100. :Error_8
  101. echo. Please check to see if Cinema.deh is in this directory.
  102. Goto End
  103. :Error_9
  104. echo. So you don't want to read what took me forever to
  105. echo. type, do you?
  106. Goto End
  107. Error_10 
  108. echo. Just put the Update document in the directory and you
  109. echo. can go on and install this.
  110. :Error_11
  111. echo. The file entitled Start.bat is not here in the Doom
  112. echo. directory, so installation is terminated.
  113. Goto End 
  114. :Error_12
  115. echo. Please make sure all of the files in the filelist are
  116. echo. in the Doom Directory.
  117. Goto End
  118. :Error_13
  119. echo. Please make sure all of the files in the filelist are
  120. echo. in the Doom Directory.
  121. Goto End
  122. :End